#{extends "main_list.html"/}
<form>
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="t0">
<tbody><tr><td valign="top" width="100%">
<table cellspacing="0" cellpadding="0" width="100%"><tr>
</tr><tr height="22">
<td valign="middle" align="left" style="padding:5px;">
#{select "searchField",value:params.searchField}
#{option}全部#{/option}
#{/select}#{select "condition",value:params.condition}
#{option 'like'}包含#{/option}
#{option '='}=#{/option}
#{option '>'}>#{/option}
#{option '<'}<#{/option}
#{/select}
<input type="text" name="search" value="${params.search}" id="obj_keyword" class="txt01" size="40"/>
<input type="submit" value="搜索" class="btn01"/>
</td>
</tr>
</table>
</td></tr></tbody></table>
</form>
<form action="@@{delete()}" method="post" onsubmit="return chk_arrayid();" id="listform">
<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0" class="t0">
<tbody><tr><td valign="top" align="middle" width="100%" height="100%">
<div style="height:400px;overflow: auto;">
<table class="t1" cellspacing="0" cellpadding="0">
<thead>
<tr><td colspan="3" class="title"></td></tr>
<tr height="22">
<td width="50"><input type="checkbox" id="chkall"/></td>
<td width="10%">&{'option.title'}</td>
</tr></thead>
<tbody>
#{list pagedList.list,as:'row'}
<tr id="tr_${row.id}" class="row">
<td><input type="checkbox" name="arrayid" value="${row.id}"/></td>
<td>
<a href="javascript:void(0);" onclick="open_dialog('@@{detail(row.id)}',600,400)">查看</a>
<a href="javascript:void(0);" onclick="open_dialog('@@{show(row.id)}',600,400)">修改</a>
<a href="javascript:void(0);" class="option_delete" url="@@{delete(row.id)}">删除</a>
</td>
</tr>
#{/list}
#{list 0..14-pagedList.list.size(),as:'i'}
<tr id="tr0" class="row">
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
#{/list}
</tbody>
</table>
</div>
</td></tr></tbody></table>
<div id="toolbar">
<input type="button" class="btn01" value="添加" onclick="open_dialog('@@{blank()}${params.pid?"?pid="+params.pid:""}',600,400)"/>
<input type="submit" class="btn01" value="删除"/>
#{page pagedList /}
</div>
</form>
